package operation;

import Book.Book;
import Book.BookList;

public class ShowOperation implements IOperation{
    public void work(BookList booklist) {
        System.out.println("打印图书");
        int cursize=booklist.getsize();
        for (int i = 0; i < cursize; i++) {
            Book book=booklist.getbook(i);
            System.out.println(book);
        }
    }
}
